package com.wanmait.recycle.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wanmait.recycle.pojo.Firsttype;

public interface FirsttypeMapper {
    void deleteById(Integer id);

    void deleteIds(Firsttype firsttype);
    
    int insertSelective(Firsttype record);

    Firsttype selectByPrimaryKey(Integer id);

    void update(Firsttype firsttype);

    int updateByPrimaryKey(Firsttype record);
    
    //获得最大的id
  	Integer getMaxId();
    
    List <Firsttype> FindAll();
    
    void insert(Firsttype firsttype);

    void insertById(Integer id);

	Firsttype findById(Integer id);
	//更改第一类型的顺序
	void changeSortCount(@Param("id")Integer id, @Param("sortCount")Integer tcount);

	List<Firsttype> FindAll1();
}